<?php
namespace app\newapi\validate;
use think\Validate;

class Bespeak extends Validate
{
    protected $rule = [
        'title' => 'require|max:50',
        'send_time' => 'require',
    ];

    protected $message = [
        'title.require' => '请输入标题',
        'title.max' => '标题不能超过50个字符',
        'send_time.require' => '请选择发送时间',
    ];
}